package com.example.demo.entity;

import java.sql.Timestamp;

public class BookFeedback {
    private int id;
    private  int memb_id;
    private int book_id;
    private String content;
    private Timestamp opera_date;

    public BookFeedback() {
    }

    public BookFeedback(int id, int memb_id, int book_id, String content, Timestamp opera_date) {
        this.id = id;
        this.memb_id = memb_id;
        this.book_id = book_id;
        this.content = content;
        this.opera_date = opera_date;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getMemb_id() {
        return memb_id;
    }

    public void setMemb_id(int memb_id) {
        this.memb_id = memb_id;
    }

    public int getBook_id() {
        return book_id;
    }

    public void setBook_id(int book_id) {
        this.book_id = book_id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Timestamp getOpera_date() {
        return opera_date;
    }

    public void setOpera_date(Timestamp opera_date) {
        this.opera_date = opera_date;
    }

    @Override
    public String toString() {
        return "BookFeedback{" +
                "id=" + id +
                ", memb_id=" + memb_id +
                ", book_id=" + book_id +
                ", content='" + content + '\'' +
                ", opera_date=" + opera_date +
                '}';
    }
}
